
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Drawing;



namespace EForms
{
	
	/// <summary>
	/// GraphicsHelper
	/// </summary>
	public class DialogUtils
	{
		/// <summary>
		/// Constructor
		/// </summary>
        public DialogUtils()
		{
		}
        public static bool ShowDeleteBox(string text)
        {
            MessageBoxButtons buttons = MessageBoxButtons.YesNo;

            //no data available - 
            if (System.Windows.Forms.MessageBox.Show("Do you really want to delete: " + text, "Delete?? ", buttons) == DialogResult.Yes)
            {
                return true;
              
            }
            return false;
        }
	}
}
